// pcResourceManage相关
import type { pageRoutesType } from '@model/types/PageRoutes'
import { ModuleEnum } from './ModuleEnum'
const pcResourceManageNginx = ModuleEnum.PcResourceManageNginx
// 结算单详情
export const pageSettleDetailView: pageRoutesType = {
  id: 'settle_view',
  type: 'settleDetailView',
  url: `${pcResourceManageNginx}/settleDetailView`,
  title: '结算单详情',
  idParams: true
}

// 班次管理
export const pageSettingShiftSetting: pageRoutesType = {
  id: 'settingShiftSetting',
  type: 'settingShiftSetting',
  url: `${pcResourceManageNginx}/setting/shiftSetting`,
  title: '班次管理',
}

// 编辑结算单
export const pageServiceEdit: pageRoutesType = {
  id: 'settle_view',
  type: 'serviceEdit',
  url: `${pcResourceManageNginx}/ServiceEdit`,
  title: '编辑结算单',
  idParams: true
}

// 结算单管理
export const pagePcResourceManageSettleListView: pageRoutesType = {
  id: 'M_SETTLEMENT_DOC_MANAGEMENT',
  type: 'pcResourceManageSettleListView',
  url: `${pcResourceManageNginx}/settleListView`,
  title: '结算单管理'
}

// 服务商管理
export const pageServiceManageList: pageRoutesType = {
  id: 'M_SERVICE_PROVIDER_MANAGEMENT_APP_NEW',
  type: 'serviceManageList',
  url: `${pcResourceManageNginx}/ServiceManage`,
  title: '服务商管理'
}

// 服务商结算
export const pagePcResourceManageServiceList: pageRoutesType = {
  id: 'M_SERVICE_PROVIDER_SETTLEMENT',
  type: 'pcResourceManageServiceList',
  url: `${pcResourceManageNginx}/ServiceList`,
  title: '服务商结算'
}

// 服务商结算V2（服务商结算V2灰度控制providerSettleV2）
export const pagePcResourceManageProviderSettleList: pageRoutesType = {
  id: 'M_SERVICE_PROVIDER_SETTLEMENT',
  type: 'pcResourceManageServiceList',
  url: `${pcResourceManageNginx}/ProviderSettleList`,
  title: '服务商结算'
}

// 客服排班
export const pageExamineSchedulingCalendar: pageRoutesType = {
  id: 'M_CUSTOMER_SERVICE_SCHEDULING',
  type: 'examineSchedulingCalendar',
  url: `${pcResourceManageNginx}/examineSchedulingCalendar`,
  title: '客服排班'
}

// 客户结算
export const pageCustomersetting: pageRoutesType = {
  id: 'SETTLE_MANAGE_CUSTOMER_SETTING',
  type: 'customersetting',
  url: `${pcResourceManageNginx}/ServiceSetting/customersetting`,
  title: '客户结算'
}

// 结算单详情
export const pagePcResourceManage: pageRoutesType = {
  id: 'settle_view',
  type: 'pcResourceManage',
  url: `${pcResourceManageNginx}/settleDetailView`,
  title: '结算单详情',
  idParams: true,
}


// 服务商审批
export const pageServiceAuditList: pageRoutesType = {
  id: 'M_SERVICE_AUDIT_NEW',
  type: 'pcResourceManage',
  url: `${pcResourceManageNginx}/ProviderAudit`,
  title: '服务商申请',
  idParams: true,
}

// 考勤组管理
export const AttendanceGroupManagement: pageRoutesType = {
  id: 'CALENDAR_ATTENDANCE_SETTING',
  type: 'pcResourceManageAttendanceGroupManagement',
  url: `${pcResourceManageNginx}/setting/attendanceSetting`,
  title: '考勤组管理',
  idParams: true,
}

// 考勤组管理
export const pageBalanceManagement: pageRoutesType = {
  id: 'M_PROVIDER_BALANCE_MANAGE',
  type: 'pcResourceManageBalanceManagement',
  url: `${pcResourceManageNginx}/BalanceManagement`,
  title: '余额管理',
  idParams: true,
}